<template>
  <el-dialog v-model="prop.isShow" :title="prop.title" :width="width" :show-close="false">
    <slot></slot>
  </el-dialog>
</template>
<script setup>
import { defineProps } from "vue";
const prop = defineProps({
  isShow: {
    type: Boolean,
    default() {
      return false;
    }
  },
  title: {
    type: String,
    default() {
      return "";
    }
  },
  list: {
    type: Array,
    default() {
      return [];
    }
  },
  width: {
    type: Number,
    default() {
      return 50;
    }
  }
});
</script>
